﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>登录</title>
  <%@ include file="/WEB-INF/views/include/head.jsp"%> 
  <link href="${ctx}/static/css/login_styles.css" rel="stylesheet" />
<body>
<div class="htmleaf-container">
	<div class="wrapper">
		<div class="container">
			<h1>Welcome</h1>
			
			<form:form class="form" action="${ctx}/postlogin" method="post">
				<input type="text" placeholder="Username"  name="username"/>
				<input type="password" placeholder="Password" name="password"/>
				<button type="submit" id="login-button">Login</button>
			</form:form>
		</div>
	 
		
		<ul class="bg-bubbles">
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
		</ul>
	</div>
</div>

 
<script>
$('#login-button').click(function (event) {
	event.preventDefault();
	$('form').fadeOut(500);
	$('.wrapper').addClass('form-success');
	$('form').submit();
});
</script>

<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';color:#000000">
<h1>free_master管理系统</h1>
</div>
</body>
</html>